package com.webside.sensitiveWords.mapper;

import java.util.List;
import java.util.Map;

import com.webside.base.basemapper.BaseMapper;
import com.webside.sensitiveWords.model.SensitiveWordsEntity;

public interface SensitiveWordsMapper extends BaseMapper<SensitiveWordsEntity, Long>{
	/**
	 * 查询敏感词
	 * @param parameter
	 * @return
	 */
	List<SensitiveWordsEntity> selectAllSensitiveWords(Map<String,Object> parameter);
	/**
	 * 查询敏感词，根据敏感词对象
	 * @param paramter
	 * @return
	 */
	List<SensitiveWordsEntity> selectSensitiveWords(SensitiveWordsEntity paramter);
	/**
	 * 删除敏感词
	 */
	int deleteSensitiveWord(List<String> parameter);
	/**
	 * 新增敏感词
	 */
	void addSensitiveWord(SensitiveWordsEntity paramter);
	/**
	 * 修改敏感词
	 */
	int updateSensitiveWord(SensitiveWordsEntity paramter);
	
}
